import 'package:freezed_annotation/freezed_annotation.dart';

import 'station.dart';

part 'sys_partner_cell_model.freezed.dart';
part 'sys_partner_cell_model.g.dart';

@freezed
class SysPartnerCellModel with _$SysPartnerCellModel {
  factory SysPartnerCellModel({
    String? id,
    DateTime? createdAt,
    DateTime? updatedAt,
    String? name,
    String? icon,
    String? link,
    dynamic innerLink,
    dynamic apkLink,
    int? sortNum,
    bool? isOpen,
    List<Station>? stations,
    int? labelType,
    int? clickNum,
    DateTime? startTime,
    DateTime? stopTime,
    dynamic protocolLink,
    int? type,
    dynamic remove,
  }) = _SysPartnerCellModel;

  factory SysPartnerCellModel.fromJson(Map<String, dynamic> json) =>
      _$SysPartnerCellModelFromJson(json);
}
